package cn.lsp.sharkmall.mapper;

import cn.lsp.sharkmall.pojo.entity.UserToken;

/**
 * @Description: 用户token
 * @Author: sweeterjava@163.com
 * @Date: 2023/2/13
 * @Time: 01:27
 */
public interface UserTokenMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(UserToken record);

    int insertSelective(UserToken record);

    UserToken selectByPrimaryKey(Long userId);

    UserToken selectByToken(String token);

    int updateByPrimaryKeySelective(UserToken record);

    int updateByPrimaryKey(UserToken record);
}
